import {Component, OnInit} from '@angular/core';

@Component({
  selector: 'app-demo05-lianxi',
  templateUrl: './demo05-lianxi.component.html',
  styleUrls: ['./demo05-lianxi.component.css']
})
export class Demo05LianxiComponent implements OnInit {
  myContent = '林庆虎';
  changemodel = '';
  myList = [100,200,102,105,300,88];
  list=[];
  constructor() {
  }

  ngOnInit() {
  }

  inputChange() {
    console.log(this.myContent);
    this.changemodel = this.myContent;
  }

  handleClick(){
    this.list.push(this.myContent);
  }
}


